* lisp/keymap.el (keymap-set): Refer to 'key-description'. (Bug#78714)
authorRobert Pluim <rpluim@gmail.com>
Tue, 10 Jun 2025 07:48:20 +0000 (09:48 +0200)
committerRobert Pluim <rpluim@gmail.com>
Wed, 11 Jun 2025 13:34:10 +0000 (15:34 +0200)
lisp/keymap.el

index b2c7321a1d54dd2f2c86cdb38f00524b774e80a6..173600f4d4bb0bacac5570162e7ba482bf7eefbf 100644 (file)
@@ -60,7 +60,11 @@ DEFINITION is anything that can be a key's definition:
     keymap has been created with a menu name, see `make-keymap'),
  or a cons (MAP . CHAR), meaning use definition of CHAR in keymap MAP,
  or an extended menu item definition.
- (See info node `(elisp)Extended Menu Items'.)"
+ (See info node `(elisp)Extended Menu Items'.)
+
+The `key-description' convenience function converts a simple
+string of characters to an equivalent form that is acceptable for
+COMMAND."
   (declare (compiler-macro (lambda (form) (keymap--compile-check key) form)))
   (keymap--check key)
   ;; If we're binding this key to another key, then parse that other